package main.java.tmi.popup.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import main.java.tmi.customer.service.CustomerVO;
import main.java.tmi.order.service.OrderVO;
import main.java.tmi.packing.service.PackingVO;
import main.java.tmi.returnProduct.service.ReturnProductVO;
import main.java.tmi.stockOut.service.StockOutVO;

/**
 * PopupService Interface
 *
 * @author min™
 * @since 2011. 07. 24
 *
 */
public interface PopupService {
	
	
	/**
	 * Customer search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	List<CustomerVO> getCustomerPopView(Map<String,String> param) throws SQLException;
	
	/**
	 * Customer count search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	int getCustomerPopCount(Map<String,String> param) throws SQLException;
	
	/**
	 * Product search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	List<CustomerVO> getProductPopView(Map<String,String> param) throws SQLException;
	
	/**
	 * Product count search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	int getProductPopCount(Map<String,String> param) throws SQLException;
	
	
	   /**
	  * order count search
	  *
	  * @param param
	  * @return CustomerVO List
	  * @throws SQLException 
	  */
	 int getOrderNumListCount(Map<String,String> param) throws SQLException;
	 
	 /**
	  * order search
	  *
	  * @param param
	  * @return CustomerVO List
	  * @throws SQLException 
	  */
	 List<OrderVO> getOrderNumList(Map<String,String> param) throws SQLException;

	   /**
	  * packing count search
	  *
	  * @param param
	  * @return CustomerVO List
	  * @throws SQLException 
	  */
	 int getPackingNumListCount(Map<String,String> param) throws SQLException;
	 
	 /**
	  * packing search
	  *
	  * @param param
	  * @return CustomerVO List
	  * @throws SQLException 
	  */
	 List<PackingVO> getPackingNumList(Map<String,String> param) throws SQLException;


 	/**
	 * StockOut PopUp search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	List<StockOutVO> getStockOutPopView(Map<String,String> param) throws SQLException;
	

	/**
	 * StockOut count search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	int getStockOutPopCount(Map<String,String> param) throws SQLException;
	
 	/**
	 * StockOut NO PopUp search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	List<StockOutVO> getStockOutNoPopView(Map<String,String> param) throws SQLException;
	

	/**
	 * StockOut NO count search
	 *
	 * @param param
	 * @return CustomerVO List
	 * @throws SQLException 
	 */
	int getStockOutNoPopCount(Map<String,String> param) throws SQLException;

	   /**
	  * packing count search
	  *
	  * @param param
	  * @return CustomerVO List
	  * @throws SQLException 
	  */
	 int getMawbHawbNumListCount(Map<String,String> param) throws SQLException;
	 
	 /**
	  * packing search
	  *
	  * @param param
	  * @return CustomerVO List
	  * @throws SQLException 
	  */
	 List<PopupVO> getMawbHawbNumList(Map<String,String> param) throws SQLException;

		
	/**
	 * ReturnProduct PopUp search
	 *
	 * @param param
	 * @return ReturnProductVO List
	 * @throws SQLException 
	 */
	List<ReturnProductVO> getReturnProducPopView(Map<String,String> param) throws SQLException;
	

	/**
	 * ReturnProduct PopUp count search
	 *
	 * @param param
	 * @return int
	 * @throws SQLException 
	 */
	int getReturnProducPopCount(Map<String,String> param) throws SQLException;
	
 	/**
	 * Return NO PopUp search
	 *
	 * @param param
	 * @return ReturnProductVO List
	 * @throws SQLException 
	 */
	List<ReturnProductVO> getReturnNoPopView(Map<String,String> param) throws SQLException;
	
	/**
	 * Return NO count search
	 *
	 * @param param
	 * @return int
	 * @throws SQLException 
	 */
	int getReturnNoPopCount(Map<String,String> param) throws SQLException;
}


